package com.zhihaihe.file.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhihaihe.file.pojo.StorageBean;

public interface IStorageService  extends IService<StorageBean> {
    Long getTotalStorageSize(Long userId);

    boolean checkStorage(Long userId, long totalSize);
}
